/*
* asyncRoutes异步路由(用户需要登录才能访问的路由)
* asyncRoutes异步路由需要根据用户的权限数组进行筛选
*/
const files = require.context('../modules', false, /\.js$/)
const asyncRoutes = []
files.keys().forEach(item => {
  const component = files(item).default
  asyncRoutes.push(component)
})
export default asyncRoutes


